home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / rbbs_pc / rbbsdocs.zip / RBBSDOCS.APT < prev    next >
Text File  |  1990-11-05  |  4KB  |  62 lines

  1.  
  2.  
  3.  
  4.     APPENDIX T -- DOS Limitation on Running Programs Remotely               T-1
  5.  
  6.  
  7.     APPENDIX T -- DOS Limitation on Running Programs Remotely
  8.     ---------------------------------------------------------
  9.     When accessing your PC via a communications port, the carrier detect signal
  10.     tells the PC that you are on-line.  DOS's major limitation is that there is
  11.     no way  to tell  DOS  to monitor  carrier detect  automatically   when  the
  12.     standard input and output is transferred to a  communication port (i.e. via
  13.     the  CTTY command).    RBBS-PC makes sure  that the carrier  is not dropped
  14.     when a user exits to DOS either via the  "DOORS" option or using the remote
  15.     SysOp function 7.  However, it is the  SysOp's  responsibility  to   insure
  16.     that   whatever programs  are invoked after  leaving RBBS-PC   perform  all
  17.     the  necessary  functions  to maintain the communications session and, when
  18.     exiting to return to RBBS-PC, that the carrier  is  "NOT"  dropped.
  19.  
  20.     Most application programs  (i.e. databases,  etc.) are not  designed to  be
  21.     controlled  by users  accessing  them from  a  communications port.    This
  22.     problem is solved when a function is invoked that:
  23.  
  24.     1. Checks   to  see  if the standard input  and output console   have  been
  25.     assigned to an auxiliary console such as a communication port.
  26.     2.  If condition 1 is true,  checks to see if the  carrier detect signal is
  27.     lost  by  intercepting  each  interrupt from  the  communication  port  the
  28.     auxiliary console has been assigned to.
  29.     3. If BOTH conditions  1 and 2 are true,  this function would cause  DOS to
  30.     return to the standard screen and keyboard for its operations AND  continue
  31.     processing  whatever batch file that had been executing.
  32.  
  33.     Such a function (or device driver) would provide a "fail safe" feature that
  34.     would allow users to  exit  RBBS-PC  to  use   whatever  other software the
  35.     SysOp chose to  make  available   (i.e.   relational databases for  complex
  36.     inquiries   --  bibliographic,    sports,    games,    etc.).    For  those
  37.     anticipating using  RBBS-PC's "doors"  or exiting  to DOS  when  you are  a
  38.     remote  SysOp, you are strongly encouraged to consider using the "watchdog"
  39.     utility  program available on many  bulletin board systems  under such file
  40.     names  as  WATCHDOG.COM,  WATCHDOG.ASM,  WATCHDOG.DOC,   WATCHDOG.EXE  that
  41.     monitors the communication port for you and reboots your system if  carrier
  42.     drops.   If you don't use a program  like WATCHDOG and accidentally hang up
  43.     while in a "door"  or in DOS, you system  will remain "hung" until  you can
  44.     manually reboot it.
  45.  
  46.     Programs that utilize the PC's built in video memory (such as the IBM BASIC
  47.     interpreter or WordStar when  it writes to the 25th line) need to have such
  48.     I/O redirected in a special way  to a remote users terminal.  Additionally,
  49.     if the  I/O is redirected to  the communications port, the  terminal on the
  50.     other end must  have a "cursor"  that can be  sent the appropriate  command
  51.     sequence  to move  it  around on  the remote  users terminal  as necessary.
  52.     Without this capability, programs  made  available  through "doors" must be
  53.     line-at-a-time  programs.    This of  course  excludes    programs such  as
  54.     WordStar, Lotus/123 etc.
  55.  
  56.     If  you aren't  technically inclined and  want to  use RBBS-PC  "doors",  I
  57.     suggest  you consider only using programs that have been explicitly written
  58.     to overcome the above  two DOS limitations.  Applications  that don't write
  59.     directly to the video  memory of the PC can  be used safely as a  "door" as
  60.     long as a "watchdog" type program is also used.
  61.  
  62.